<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<SinBiota.Model.Entities.Institution>>" %>
<%@ Import Namespace="Localization" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%: Strings.Institution %> 
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2><%: Strings.Institution %> </h2>
    <% Html.RenderPartial("SearchBox"); %>
    <table><thead>
        <tr class="header">
             <th width="40"></th>
            <th>
                <%: Strings.Name %>
            </th>
            <th>
                <%: Strings.Address %>
            </th>
        </tr>
        </thead>
    <% foreach (var item in Model) { %>
    
        <tr>
            <td>
            <% Html.RenderPartial("EditDetailsRemoveUserControl", item); %>
            </td>
            <td>
                <%: item.Name %>
            </td>
            <td>
                <%: item.Address %>
            </td>
        </tr>
    
    <% } %>

    </table>

    <p class="small button radius">
        <%: Html.ActionLink(Strings.CreateNew, "Create") %>
    </p>

</asp:Content>

